package list;

public class Person {
	String no;   //门牌号
	Person next; //下一家
	Person prev; //上一家
	
	public static void main(String[] args) {
		Person p1 = new Person();
		p1.no = "1004";
		
		Person p2 = new Person();
		p2.no = "1005";
		
		Person p3 = new Person();
		p3.no = "1003";
		
		p1.next = p2;
		p1.prev = p3;
	}
}
